import React from 'react'
import {Link} from 'react-router-dom';
import './Header.css';


 const Header = () => {
        return (
            <div className='header-wrap'>
                <div className='header'>
                    <img className='logo' src="https://static2.cnodejs.org/public/images/cnodejs_light.svg" alt="" />
                    <div>
                        <Link to='/'>首页</Link>
                        <Link to='new'>新手入门</Link>
                        <Link to='api'>API</Link>
                        <Link to='login'>登录</Link>
                    </div>
                </div>
                
            </div>
        )
    
}

export default Header
